<link rel="stylesheet" type="text/css" href="views/home/detail/detail.css"/>
<div id="c_goumai">
	<a ng-sref="kefu"></a>
	<div>
		<a ng-sref="goumai">立即购买</a>
		<a ng-sref="cart" ng-click = "isHa=true">加入购物车</a>	
	</div>
</div>
<div id="c_xiangqing" ng-controller="DetailController">
	<!--轮播图部分-->
	<div class="swiper-container">
	    <div class="swiper-wrapper">
	        <div class="swiper-slide"><img ng-src="{{details.primaryPicUrl}}"/></div>
	    </div>
	</div>
	<!--商品基本信息-->
	<div class="c_Name">
		<!--商品名-->
    	<p>{{details.name}}</p>
    	<!--商品简介-->
    	<p>{{details.simpleDesc}}</p>
    	<!--商品价格-->
    	<p>{{details.retailPrice|currency:"￥"}}</p>
    </div>
    <!--商品规格-->
    <div class="c_guige">
    	<div ng-click="isHa=true">请选择规格数量</div>
    	<div ng-repeat="n in json.hdrkDetailVOList" class="c_cuxiao">1个促销:<span>{{n.activityType}}</span><span>{{n.name}}</span></div>
    	<div class="c_fuwu"><span>服务:</span>
    		<ul>
    			<li ng-repeat="n in policyList"><p>{{n.title}}</p></li>
    		</ul>
    	</div>
    </div>
    <!--评价的用户-->
    <div class="c_pinglun">
    	<p><span>评价</span><span>(999+)</span> <span>查看全部</span></p>
    </div>
    <!--评价内容-->
    <div class="c_pinglun_1" ng-repeat="n in json.comments">
    	<p>
    		<img src="views/home/detail/images/8945ae63d940cc42406c3f67019c5cb6.png"/>
    		{{n.frontUserName}}
    		<span>{{data| date:"yyyy-MM-dd HH:mm:ss"}}</span>
    	</p>
    	<p class="c_pingluntext">{{n.content}}</p>
    	<p class="c_pinglunxinghao" ng-repeat="(key,val) in n.skuInfo">{{val | limitTo : -3}}</p>
    </div>
    
    <!--商品详情-->
	<div class="c_xiangiqng">
		<p>商品参数</p>
		<table class="c_xiangxicanshu">
			<tr ng-repeat="n in json.attrList">
				<td class="c_td">{{n.attrName}}</td>
				<td class="c_td">{{n.attrValue}}</td>
			</tr>
		</table>
	</div>
	
	<div class="c_tuwen" ng-bind-html="json.itemDetail.detailHtml">
	</div>
	
	<div class="c_changjianwenti">
		<p><span></span>常见问题<span></span></p>
		<div ng-repeat="n in details.issueList">
			<li><span>{{n.question}}</span></li>
			<p>{{n.answer}}</p>
		</div>
	</div>
	
	<!--选择商品规格时出现的东西-->
	<div class="c_xuanguige" ng-show="isHa" ng-model="isHa">
		<div class="c_spxinxi">
			<p class="c_ii">
				<img ng-src="{{details.primaryPicUrl}}"/>
			</p>
			
			<p>
				<span>价格 :</span><span>{{details.retailPrice}}</span><br />
				<span>已选择 :</span><span>{{details.pieceUnitDesc}}</span>
			</p>
		</div>
		
			<div id="c_nichousha">
				<div class="c_tti">{{n.itemSkuSpecValueList[0].skuSpec.name}}</div>
				<p class="c_chushi" ng-click="state($index)"  ng-class='{c_focus: $index==c_focus}' ng-repeat="n in json.skuList">{{n.itemSkuSpecValueList[0].skuSpecValue.value}}</p>
			</div>
			
			<form class="c_jiajian">
				<p class="c_tti">数量</p>
				<p class="c_dawoa"><input type="button" name="c_jiajian"  ng-click= "c_qishou()"><input type="text" value="{{details.pieceNum}}" name="c_jiajian"/><input type="button"  name="c_jiajian" ng-click= "details.pieceNum=details.pieceNum+1"></p>
			</form>
		<div id="c_goumai">
			<a ng-sref="fanhui" class="c_fanhui" ng-click="isHa=false" ng-model="isHa" ></a>
			<div>
				<a ng-sref="goumai">立即购买</a>
				<a ng-sref="cart" ng-click = "c_jiaru()" ng-modle = "goods">加入购物车</a>	
			</div>
		</div>
	</div>
	<!--我告诉你  你可以买了-->
	<div id="c_jixumaia" ng-show="chengla">
		加 入 成 功
	</div>
	<div id="c_jixumaia" ng-show="qishou" style="width: 3rem;">
		本商品一件起售
	</div>
	<!--这里是小尾巴-->
</div>

	